package com.da.ioc.controller;

import com.da.ioc.dao.UserDaoImpl;
import com.da.ioc.frame.annotation.Bean;
import com.da.ioc.frame.annotation.Inject;

@Bean
public class UserController {

    @Inject
    private UserDaoImpl userDao;

    public void getUser() {
        System.out.println(userDao.getUser());
    }

}
